package com.cskaoyan.bean.mall.region;

import com.cskaoyan.bean.PageDataVo;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @description:
 * @author: enhui
 **/
@NoArgsConstructor
@Data
public class RegionData{
    private Integer id;
    private String name;
    private Integer type;
    private Integer code;
    private List<CityDOT> children;

    @NoArgsConstructor
    @Data
    public static class CityDOT {
        private Integer id;
        private String name;
        private Integer type;
        private Integer code;
        private List<AreaDOT> children;

        @NoArgsConstructor
        @Data
        public static class AreaDOT {
            private Integer id;
            private String name;
            private Integer type;
            private Integer code;
        }
    }
}
